package com.dyw.springboot.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Devil
 * @create 2022-01-25-13:31
 */
@Data
@ConfigurationProperties(prefix = "mycar")
public class Car {
    private String name;
    private Integer price;
}
